Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: test posix_spawn() and add negative test cases #2598

Merged
merged 7 commits into from
Feb 4, 2025

Conversation

SteveLauC
Copy link
Member

@SteveLauC SteveLauC commented Feb 2, 2025

What does this PR do

  1. Add tests for posix_spawn(). Before this PR, the tests only cover posix_spawnp()
  2. Add negative tests cases (the binary to exec does not exist) for both posix_spawn() and posix_spawnp()

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@SteveLauC SteveLauC changed the title test: test posix_spawn() test: test posix_spawn() and add negative test cases Feb 4, 2025
@SteveLauC SteveLauC marked this pull request as ready for review February 4, 2025 10:25
@SteveLauC SteveLauC added this pull request to the merge queue Feb 4, 2025
Merged via the queue into nix-rust:master with commit 299feba Feb 4, 2025
37 checks passed
@SteveLauC SteveLauC deleted the test/posix_spawn branch February 4, 2025 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant